const hColumn = () => {
  let list = []
  for (let i = 0; i < 25; i++) {
    list.push({ text: i, value: i })
  }

  return list
}

const mColumn = () => {
  let list = []
  for (let i = 0; i < 61; i++) {
    list.push({ text: i, value: i })
  }

  return list
}

const setTimeColunmn = [hColumn(), mColumn()]

const modeList = [
  {
    text: '刷牙时长',
    svg: 'clock',
    commandValue: 1,
    description: '2分钟'
  },
  {
    text: '刷牙模式',
    svg: 'mode',
    commandValue: 2,
    description: '护龈'
  },
  {
    text: '刷头更换提醒',
    svg: 'refresh',
    commandValue: 3,
    description: '剩余180次'
  }
]

const timeCellList = [
  {
    id: 2,
    title: '2分钟',
    checked: false
  },
  {
    id: 3,
    title: '3分钟',
    checked: false
  },
  {
    id: 4,
    title: '4分钟',
    checked: false
  }
]

const historyTabs = [
  {
    id: 1,
    title: '日'
  },
  {
    id: 2,
    title: '周'
  },
  {
    id: 3,
    title: '月'
  }
]

const dataSList = [
  {
    id: 1,
    date: '周',
    title: '使用总次数(次)',
    num: 0
  },
  {
    id: 2,
    date: '周',
    title: '平均时长(分)',
    num: 0
  },
  {
    id: 3,
    date: '周',
    title: '使用总时长(分)',
    num: 0
  }
]

const scoreLevelList = [
  {
    id: 1,
    title: '有待改善',
    color: '#FF762C',
    score: '0-59'
  },
  {
    id: 2,
    title: '正常',
    color: '#4994F5',
    score: '60-79'
  },
  {
    id: 3,
    title: '好',
    color: '#00D8AF',
    score: '80-100'
  }
]

const btnTextList = ['开始', '取消']

// 刷牙模式数据项
const modePopList = [
  {
    text: '呵护',
    id: 1
  },
  {
    text: '清洁',
    id: 2
  },
  {
    text: '亮白',
    id: 3
  }
]

const modeLevel = {
  1: '低档',
  2: '中档',
  3: '高档'
}

const deviceId = 'CMCC-591121-B812DAC7C2F2'

const lowUseNumberMsg = '刷头使用次数不足，请及时更换'
const lowPowerMsg = '电量不足，请及时充电'

module.exports = {
  modeLevel,
  lowUseNumberMsg,
  lowPowerMsg,
  deviceId,
  modeList,
  timeCellList,
  historyTabs,
  setTimeColunmn,
  mColumn,
  btnTextList,
  dataSList,
  scoreLevelList,
  modePopList
}
